/*
 * Constants.h
 *
 *  Created on: 04.09.2011
 *      Author: Kirill Blinov
 *      Copyright: LGPL
 */

#ifndef CONSTANTS_H_
#define CONSTANTS_H_

#include "BasicTypes.h"

#define DEBUG_RENDERER

//#define DEBUG_STRUCTURES //Enables range check for stack structure

const UINT RENDER_DEFAULT_WAIT_TIME = 50; //Time render thread waiting for in case of empty queue

const UINT LEFT_CLIP_PLANE  = 0;
const UINT RIGHT_CLIP_PLANE = 1;
const UINT BUTTON_CLIP_PLANE= 2;
const UINT TOP_CLIP_PLANE =   3;
const UINT FAR_CLIP_PLANE =   4;
const UINT NEAR_CLIP_PLANE =  5;

/*
 * Size in pixels of square used for render gui
 */
const UINT GUI_DUMMY_BOX_SIZE = 100;

#ifdef WIN32
	#define	OFFSET_FROM_LINE_END 1
#else
	#define	OFFSET_FROM_LINE_END 2
#endif

#endif /* CONSTANTS_H_ */
